use "$Data_generated/Canton.dta", replace

gen post26=1 if year>1926
replace post26=0 if missing(post26)

reg mod_right36  asin_perm asin_pop if year==1926,
estimates store est_1926
reg mod_right36  asin_perm asin_pop if year==1935,
estimates store est_1935
suest est_1926 est_1935, cluster(deppct)
test [est_1926_mean]asin_perm=[est_1935_mean]asin_perm
outreg2 using"$Results/TableA5.tex", replace ctitle(All)  stats(coef tstat) tex(frag) keep(asin_perm)

reg mod_right36  asin_perm asin_pop Pasc nopol if year==1926,
estimates store est_1926
reg mod_right36  asin_perm asin_pop Pasc nopol  if year==1935,
estimates store est_1935
suest est_1926 est_1935, cluster(deppct)
test [est_1926_mean]asin_perm=[est_1935_mean]asin_perm
outreg2 using"$Results/TableA5.tex", append ctitle(All)  stats(coef tstat) tex(frag) keep(asin_perm)


reg right36  asin_perm asin_pop if year==1926,
estimates store est_1926
reg right36  asin_perm asin_pop if year==1935,
estimates store est_1935
suest est_1926 est_1935, cluster(deppct)
test [est_1926_mean]asin_perm=[est_1935_mean]asin_perm
outreg2 using"$Results/TableA5.tex", append ctitle(All)  stats(coef tstat) tex(frag) keep(asin_perm)

reg right36  asin_perm asin_pop Pasc nopol if year==1926,
estimates store est_1926
reg right36  asin_perm asin_pop Pasc nopol  if year==1935,
estimates store est_1935
suest est_1926 est_1935, cluster(deppct)
test [est_1926_mean]asin_perm=[est_1935_mean]asin_perm
outreg2 using"$Results/TableA5.tex", append ctitle(All)  stats(coef tstat) tex(frag) keep(asin_perm)